﻿using NewRetail.Application.Core.Entity;
using System;

namespace NewRetail.Application.Components.Platform.Entity
{
    public class PosIntegral : BaseEntity
    {
        public string memberID { get; set; }
        public string orderNo { get; set; }
        public string integralSource { get; set; }
        public bool plusOrMinus { get; set; }
        public decimal integral { get; set; }
        public DateTime operateTime { get; set; }
        public string remark { get; set; }
        /// <summary>
        /// 积分是否上传同步到微信线上会员卡内
        /// </summary>
        public bool isUpload { get; set; } = false;
        /// <summary>
        /// 积分上传同步到微信失败重试次数
        /// </summary>
        public int retryCount { get; set; } = 0;

        public PosMember PosMember { get; set; }
    }
}
